Miles Sound System SDK 7.2a

Q:

What MP3 encoder should I use?

A:

The encoders are being upgraded so quickly that it's hard to give a recommendation that will be valid for any length of time.

We've generally found the Fraunhofer encoders to be the best (and are relatively inexpensive) - after all, they did first publish the format!

If you want to compress the DLS instruments in your files, then you need our encoder - it is the only one with the hooks necessary to encode DLS files. Our encoder isn't the best for general MP3 encoding, though.

If you will be doing looping or seeking of any type on MP3 files, they'll sound much better if you encode them without using the format's bit-reservoir feature. With the LAME encoder (also among the best available), the command-line option --nores will ensure that all of the source data associated with an MP3 frame is stored within the physical boundaries of the frame.

The MAKELOOP.EXE utility is a Win32 console application that works in conjunction with LAME to create loopable .MP3 and ADPCM .WAV files. It will accept PCM .WAV, ADPCM .WAV, or existing .MP3 files as input. When encoding MP3 files, MAKELOOP.EXE resamples your input file to the next-smaller multiple of the MP3 frame size (usually 1152 samples), then launches LAME with a combination of options chosen for loop-transition quality. Finally, MAKELOOP.EXE post-processes LAME's output file to remove silent frames.

MAKELOOP.EXE is especially convenient because you don't need to specify subblock offsets with AIL_set_sample_loop_block or AIL_set_stream_loop_block to loop a file encoded by it. Just use AIL_set_sample_loop_count or AIL_set_stream_loop_count to loop the entire file. Most loopable .WAV files will sound great when encoded with MAKELOOP.EXE, saving your production department the need to select and audition loop points manually with the Miles Sound Player.

You can run MAKELOOP.EXE with no command-line options to see usage notes for the current version. Most .WAV files can be encoded simply by running makeloop infile.wav outfile.mp3.

Next Topic (I can't get Miles to play an MP3, XMA, or Ogg Vorbis file - what's going on?)

Previous Topic (What is MPEG Audio and MP3?)


Group: FAQs and How Tos
Related Functions: AIL_set_sample_loop_block, AIL_set_sample_loop_count, AIL_set_stream_loop_block, AIL_set_stream_loop_count

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.